package com.xiaoxx.common.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author HX
 * @Date 2021/11/22 15:27
 */
@Data
public class BaseQuery extends Convert {

    @ApiModelProperty(value = "页数(小于1查询所有,不传默认0)", required = false, position = -1, example = "1")
    private Long current ;

    @ApiModelProperty(value = "每页数量(不传默认20)", required = false, position = -1, example = "20")
    private Long size;

}
